package com.lp.bean;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lp.annotation.Code;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; 

/**
 *@类:IotHistoryTriggerInfo
 *@作者:chenrj
 */

@Data
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 
@EqualsAndHashCode(callSuper = false) 
public class IotHistoryTriggerInfo extends BaseBean {

   /**id*/
   private Integer id;

   /**sdata*/
   private Float sdata;

   /**description*/
   private String description;

   /**name*/
   private String name;

   /**源传感器ID*/
   private Integer from_sensor_id;

   /**目标传感器ID*/
   private Integer to_sensor_id;

   /**触发条件类型*/
   @Code
   private Integer iot_trigger_condition_type;

   /**触发动作类型*/
   @Code
   private String iot_trigger_action_type;

   /**触发动作参数*/
   private String action_params;

   private String trigger_value ;
   
   /**条件参数*/
   private String condition_params;

   /**报警级别*/
   private Integer iot_trigger_alarm_level;

   /**是否报警标志*/
   private Integer iot_trigger_alarm_flag;

   /**触发间隔*/
   private Integer trigger_inteval_time;

   /**aid*/
   private Integer aid;

   /**atime*/
   private Date atime;

}